import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import payHistory from '@/components/payHistory/payHistory'
import loginStudent from '@/components/login/loginStudent'
import loginFamily from '@/components/login/loginFamily'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path:'/payHistory',
      name:'payHistory',
      component:payHistory
    },
    {
      path:'/loginStudent',
      name:'loginStudent',
      component:loginStudent
    },
    {
      path:'/loginFamily',
      name:'loginFamily',
      component:loginFamily
    }
  ]
})
